﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraEditors;
using DevExpress.Skins;
using DevExpress.LookAndFeel;
using DevExpress.XtraBars.Ribbon;
using DevExpress.XtraBars.Ribbon.Gallery;

namespace GUI
{
    public partial class Main : DevExpress.XtraBars.Ribbon.RibbonForm
    {     
        private DevExpress.XtraNavBar.NavBarControl navBarControl1;
        private DevExpress.XtraNavBar.NavBarGroup navBarGroup1;
        private DevExpress.XtraNavBar.NavBarItem navBarItem1;
        private DevExpress.XtraNavBar.NavBarItem navBarItem2;
        private DevExpress.XtraNavBar.NavBarItem navBarItem3;
        private DevExpress.XtraNavBar.NavBarItem navBarItem4;
        private DevExpress.XtraNavBar.NavBarItem navBarItem5;
        private DevExpress.XtraNavBar.NavBarItem navBarItem6;
        private DevExpress.XtraNavBar.NavBarItem navBarItem7;
        private DevExpress.XtraNavBar.NavBarItem navBarItem8;
        private DevExpress.XtraNavBar.NavBarItem navBarItem9;
        private DevExpress.XtraNavBar.NavBarItem navBarItem10;
        private DevExpress.XtraNavBar.NavBarItem navBarItem11;
        private DevExpress.XtraNavBar.NavBarItem navBarItem12;
        private DevExpress.XtraNavBar.NavBarItem navBarItem13;
        private DevExpress.XtraBars.Ribbon.RibbonStatusBar ribbonStatusBar1;
        private DevExpress.XtraNavBar.NavBarItem navBarItem14;
        private DevExpress.XtraNavBar.NavBarItem navBarItem15;
        private DevExpress.XtraNavBar.NavBarItem navBarItem16;
        private IContainer components;
        private DevExpress.XtraTab.XtraTabPage xtraTabPage1;
        private DevExpress.XtraTab.XtraTabControl xtraTabControl1;
        private DevExpress.XtraTab.XtraTabPage xtraTabPage2;
        private DevExpress.XtraTab.XtraTabPage xtraTabPage3;
        private DevExpress.XtraTab.XtraTabPage xtraTabPage4;
        private DevExpress.XtraTab.XtraTabPage xtraTabPage5;
        private DevExpress.XtraTab.XtraTabPage xtraTabPage6;
        private DevExpress.XtraTab.XtraTabPage xtraTabPage7;
        private DevExpress.XtraTab.XtraTabPage xtraTabPage8;
        private DevExpress.XtraTab.XtraTabPage xtraTabPage9;
        private DevExpress.XtraBars.Ribbon.RibbonControl ribbonControl1;
        private DevExpress.XtraBars.BarButtonItem barButtonItem1;
        private DevExpress.XtraBars.BarButtonItem barButtonItem2;
        private DevExpress.XtraBars.BarButtonItem barButtonItem3;
        private DevExpress.XtraBars.BarButtonItem barButtonItem4;
        private DevExpress.XtraBars.BarButtonItem barButtonItem5;
        private DevExpress.XtraBars.BarButtonItem barButtonItem6;
        private DevExpress.XtraBars.BarButtonItem barButtonItem7;
        private DevExpress.XtraBars.BarButtonItem barButtonItem8;
        private DevExpress.XtraBars.BarButtonItem barButtonItem9;
        private DevExpress.XtraBars.BarButtonItem barButtonItem10;
        private DevExpress.XtraBars.BarButtonItem barButtonItem11;
        private DevExpress.XtraBars.BarButtonItem barButtonItem12;
        private DevExpress.XtraBars.BarButtonItem barButtonItem13;
        private DevExpress.XtraBars.BarButtonItem barButtonItem14;
        private DevExpress.XtraBars.BarButtonItem barButtonItem15;
        private DevExpress.XtraBars.BarButtonItem barButtonItem16;
        private DevExpress.XtraBars.BarButtonItem barButtonItem17;
        private DevExpress.XtraBars.BarButtonItem barButtonItem18;
        private DevExpress.XtraBars.BarButtonItem barButtonItem19;
        private DevExpress.XtraBars.BarButtonItem barButtonItem21;
        private DevExpress.XtraBars.BarButtonItem barButtonItem22;
        private DevExpress.XtraBars.BarButtonItem barButtonItem23;
        private DevExpress.XtraBars.BarButtonItem barButtonItem24;
        private DevExpress.XtraBars.BarButtonItem barButtonItem25;
        private DevExpress.XtraBars.BarButtonItem barButtonItem26;
        private DevExpress.XtraBars.BarButtonItem barButtonItem27;
        private DevExpress.XtraBars.BarButtonItem barButtonItem28;
        private DevExpress.XtraBars.BarButtonItem barButtonItem29;
        private DevExpress.XtraBars.BarButtonItem barButtonItem30;
        private DevExpress.XtraBars.Ribbon.RibbonPage ribbonPage1;
        private DevExpress.XtraBars.Ribbon.RibbonPageGroup ribbonPageGroup1;
        private DevExpress.XtraBars.Ribbon.RibbonPageGroup ribbonPageGroup2;
        private DevExpress.XtraBars.Ribbon.RibbonPageGroup ribbonPageGroup5;
        private DevExpress.XtraBars.Ribbon.RibbonPage ribbonPage2;
        private DevExpress.XtraBars.Ribbon.RibbonPageGroup ribbonPageGroup6;
        private DevExpress.XtraBars.Ribbon.RibbonPageGroup ribbonPageGroup7;
        private DevExpress.XtraBars.Ribbon.RibbonPageGroup ribbonPageGroup10;
        private DevExpress.XtraBars.Ribbon.RibbonPage ribbonPage3;
        private DevExpress.XtraBars.Ribbon.RibbonPageGroup ribbonPageGroup11;
        private DevExpress.XtraBars.Ribbon.RibbonPageGroup ribbonPageGroup12;
        private DevExpress.XtraBars.Ribbon.RibbonPage ribbonPage5;
        private DevExpress.XtraBars.Ribbon.RibbonPageGroup ribbonPageGroup19;
        private DevExpress.XtraBars.Ribbon.RibbonPageGroup ribbonPageGroup22;
        private DevExpress.XtraBars.Ribbon.RibbonPage ribbonPage4;
        private DevExpress.XtraBars.Ribbon.RibbonPageGroup ribbonPageGroup13;
        private DevExpress.XtraBars.Ribbon.RibbonPageGroup ribbonPageGroup14;
        private DevExpress.XtraBars.Ribbon.RibbonPage ribbonPage6;
        private DevExpress.XtraBars.Ribbon.RibbonPageGroup ribbonPageGroup23;
        private DevExpress.XtraBars.Ribbon.RibbonPageGroup ribbonPageGroup24;
        private DevExpress.XtraBars.Ribbon.RibbonPageGroup ribbonPageGroup25;
        private DevExpress.XtraBars.Ribbon.RibbonPage ribbonPage8;
        private DevExpress.XtraBars.Ribbon.RibbonPage ribbonPage7;
        private DevExpress.XtraBars.Ribbon.RibbonPageGroup ribbonPageGroup16;
        private DevExpress.XtraBars.Ribbon.RibbonPage ribbonPage9;
        private DevExpress.XtraBars.Ribbon.RibbonPageGroup ribbonPageGroup27;
        private DevExpress.XtraBars.Ribbon.RibbonPageGroup ribbonPageGroup28;
        private DevExpress.XtraBars.Ribbon.RibbonPageGroup ribbonPageGroup29;
        private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit repositoryItemButtonEdit1;
        private DevExpress.XtraBars.BarStaticItem barStaticItem1;
        private DevExpress.XtraBars.RibbonGalleryBarItem rbiGallery;
        private DevExpress.XtraBars.RibbonGalleryBarItem rbGallery;
        private RibbonPageGroup ribbonPageGroup30;
        private DevExpress.XtraBars.BarStaticItem barStaticItem2;
        private DevExpress.XtraTab.XtraTabControl xtraTabControl2;
        private DevExpress.XtraTab.XtraTabPage xtraTabPage10;
        private SplitContainerControl splitContainerControl1;
        private DevExpress.XtraTab.XtraTabControl xtraTabControl3;
        private DevExpress.XtraTab.XtraTabPage xtraTabPage12;
        private DevExpress.XtraTab.XtraTabPage xtraTabPage13;
        private DevExpress.XtraTab.XtraTabPage xtraTabPage14;
        private DevExpress.XtraTab.XtraTabControl xtraTabControl4;
        private DevExpress.XtraTab.XtraTabPage xtraTabPage15;
        private DevExpress.XtraTab.XtraTabPage xtraTabPage16;
        private DevExpress.XtraTab.XtraTabPage xtraTabPage17;
        private DevExpress.XtraTab.XtraTabControl xtraTabControl5;
        private DevExpress.XtraTab.XtraTabPage xtraTabPage18;
        private DevExpress.XtraTab.XtraTabPage xtraTabPage19;
        private DevExpress.XtraTab.XtraTabControl xtraTabControl6;
        private DevExpress.XtraTab.XtraTabPage xtraTabPage20;
        private DevExpress.XtraTab.XtraTabPage xtraTabPage21;
        private DevExpress.XtraTab.XtraTabPage xtraTabPage22;
        private DevExpress.XtraTab.XtraTabControl xtraTabControl7;
        private DevExpress.XtraTab.XtraTabPage xtraTabPage23;
        private DevExpress.XtraTab.XtraTabPage xtraTabPage24;
        private DevExpress.XtraTab.XtraTabControl xtraTabControl9;
        private DevExpress.XtraTab.XtraTabPage xtraTabPage28;
        private DevExpress.XtraTab.XtraTabPage xtraTabPage29;
        private DevExpress.XtraTab.XtraTabPage xtraTabPage30;
        private DevExpress.XtraBars.BarButtonItem barButtonItem31;
        private RibbonPageGroup ribbonPageGroup3;
        private DevExpress.XtraTab.XtraTabControl xtraTabControl8;
        private DevExpress.XtraTab.XtraTabPage xtraTabPage25;
        private DevExpress.XtraTab.XtraTabPage xtraTabPage26;
        private RibbonPageGroup ribbonPageGroup17;
        private RibbonPageGroup ribbonPageGroup18;
        private DevExpress.XtraTab.XtraTabPage xtraTabPage27;
        private DevExpress.XtraTab.XtraTabPage xtraTabPage11;
        private int typeuser;
        private String nameoftypeuser;
    
        public Main(int _type, String _nameoftype)
        {
            InitializeComponent();
            DevExpress.XtraBars.Helpers.SkinHelper.InitSkinGallery(rbGallery, true);
            UserLookAndFeel.Default.SetSkinStyle("Xmas 2008 Blue");
            typeuser = _type;
            nameoftypeuser = _nameoftype;
            barStaticItem2.Caption = "Bạn đang đăng nhập với quyền "+nameoftypeuser+". Đăng xuất!";
        }
      
        private void InitializeComponent()
        {
            DevExpress.Utils.SuperToolTip superToolTip1 = new DevExpress.Utils.SuperToolTip();
            DevExpress.Utils.ToolTipTitleItem toolTipTitleItem1 = new DevExpress.Utils.ToolTipTitleItem();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Main));
            this.ribbonControl1 = new DevExpress.XtraBars.Ribbon.RibbonControl();
            this.barButtonItem1 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem2 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem3 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem4 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem5 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem6 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem7 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem8 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem9 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem10 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem11 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem12 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem13 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem14 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem15 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem16 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem17 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem18 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem19 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem21 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem22 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem23 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem24 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem25 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem26 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem27 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem28 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem29 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem30 = new DevExpress.XtraBars.BarButtonItem();
            this.rbiGallery = new DevExpress.XtraBars.RibbonGalleryBarItem();
            this.rbGallery = new DevExpress.XtraBars.RibbonGalleryBarItem();
            this.barStaticItem2 = new DevExpress.XtraBars.BarStaticItem();
            this.barButtonItem31 = new DevExpress.XtraBars.BarButtonItem();
            this.ribbonPage1 = new DevExpress.XtraBars.Ribbon.RibbonPage();
            this.ribbonPageGroup1 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
            this.ribbonPageGroup2 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
            this.ribbonPageGroup5 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
            this.ribbonPage2 = new DevExpress.XtraBars.Ribbon.RibbonPage();
            this.ribbonPageGroup6 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
            this.ribbonPageGroup7 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
            this.ribbonPageGroup10 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
            this.ribbonPage3 = new DevExpress.XtraBars.Ribbon.RibbonPage();
            this.ribbonPageGroup11 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
            this.ribbonPageGroup12 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
            this.ribbonPage4 = new DevExpress.XtraBars.Ribbon.RibbonPage();
            this.ribbonPageGroup13 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
            this.ribbonPageGroup14 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
            this.ribbonPage5 = new DevExpress.XtraBars.Ribbon.RibbonPage();
            this.ribbonPageGroup19 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
            this.ribbonPageGroup22 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
            this.ribbonPage6 = new DevExpress.XtraBars.Ribbon.RibbonPage();
            this.ribbonPageGroup23 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
            this.ribbonPageGroup24 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
            this.ribbonPageGroup25 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
            this.ribbonPage8 = new DevExpress.XtraBars.Ribbon.RibbonPage();
            this.ribbonPage7 = new DevExpress.XtraBars.Ribbon.RibbonPage();
            this.ribbonPageGroup16 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
            this.ribbonPageGroup3 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
            this.ribbonPageGroup30 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
            this.ribbonPage9 = new DevExpress.XtraBars.Ribbon.RibbonPage();
            this.ribbonPageGroup27 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
            this.ribbonPageGroup28 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
            this.ribbonPageGroup29 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
            this.repositoryItemButtonEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit();
            this.ribbonStatusBar1 = new DevExpress.XtraBars.Ribbon.RibbonStatusBar();
            this.navBarControl1 = new DevExpress.XtraNavBar.NavBarControl();
            this.navBarGroup1 = new DevExpress.XtraNavBar.NavBarGroup();
            this.navBarItem1 = new DevExpress.XtraNavBar.NavBarItem();
            this.navBarItem2 = new DevExpress.XtraNavBar.NavBarItem();
            this.navBarItem3 = new DevExpress.XtraNavBar.NavBarItem();
            this.navBarItem4 = new DevExpress.XtraNavBar.NavBarItem();
            this.navBarItem5 = new DevExpress.XtraNavBar.NavBarItem();
            this.navBarItem6 = new DevExpress.XtraNavBar.NavBarItem();
            this.navBarItem7 = new DevExpress.XtraNavBar.NavBarItem();
            this.navBarItem8 = new DevExpress.XtraNavBar.NavBarItem();
            this.navBarItem9 = new DevExpress.XtraNavBar.NavBarItem();
            this.navBarItem14 = new DevExpress.XtraNavBar.NavBarItem();
            this.navBarItem10 = new DevExpress.XtraNavBar.NavBarItem();
            this.navBarItem11 = new DevExpress.XtraNavBar.NavBarItem();
            this.navBarItem12 = new DevExpress.XtraNavBar.NavBarItem();
            this.navBarItem13 = new DevExpress.XtraNavBar.NavBarItem();
            this.navBarItem15 = new DevExpress.XtraNavBar.NavBarItem();
            this.navBarItem16 = new DevExpress.XtraNavBar.NavBarItem();
            this.xtraTabPage1 = new DevExpress.XtraTab.XtraTabPage();
            this.xtraTabControl3 = new DevExpress.XtraTab.XtraTabControl();
            this.xtraTabPage12 = new DevExpress.XtraTab.XtraTabPage();
            this.xtraTabPage13 = new DevExpress.XtraTab.XtraTabPage();
            this.xtraTabPage14 = new DevExpress.XtraTab.XtraTabPage();
            this.xtraTabControl1 = new DevExpress.XtraTab.XtraTabControl();
            this.xtraTabPage2 = new DevExpress.XtraTab.XtraTabPage();
            this.xtraTabControl4 = new DevExpress.XtraTab.XtraTabControl();
            this.xtraTabPage15 = new DevExpress.XtraTab.XtraTabPage();
            this.xtraTabPage16 = new DevExpress.XtraTab.XtraTabPage();
            this.xtraTabPage17 = new DevExpress.XtraTab.XtraTabPage();
            this.xtraTabPage3 = new DevExpress.XtraTab.XtraTabPage();
            this.xtraTabControl5 = new DevExpress.XtraTab.XtraTabControl();
            this.xtraTabPage18 = new DevExpress.XtraTab.XtraTabPage();
            this.xtraTabPage19 = new DevExpress.XtraTab.XtraTabPage();
            this.xtraTabPage4 = new DevExpress.XtraTab.XtraTabPage();
            this.xtraTabControl2 = new DevExpress.XtraTab.XtraTabControl();
            this.xtraTabPage10 = new DevExpress.XtraTab.XtraTabPage();
            this.xtraTabPage11 = new DevExpress.XtraTab.XtraTabPage();
            this.xtraTabPage5 = new DevExpress.XtraTab.XtraTabPage();
            this.xtraTabControl7 = new DevExpress.XtraTab.XtraTabControl();
            this.xtraTabPage23 = new DevExpress.XtraTab.XtraTabPage();
            this.xtraTabPage24 = new DevExpress.XtraTab.XtraTabPage();
            this.xtraTabPage6 = new DevExpress.XtraTab.XtraTabPage();
            this.xtraTabControl6 = new DevExpress.XtraTab.XtraTabControl();
            this.xtraTabPage20 = new DevExpress.XtraTab.XtraTabPage();
            this.xtraTabPage21 = new DevExpress.XtraTab.XtraTabPage();
            this.xtraTabPage22 = new DevExpress.XtraTab.XtraTabPage();
            this.xtraTabPage7 = new DevExpress.XtraTab.XtraTabPage();
            this.xtraTabPage8 = new DevExpress.XtraTab.XtraTabPage();
            this.xtraTabControl8 = new DevExpress.XtraTab.XtraTabControl();
            this.xtraTabPage25 = new DevExpress.XtraTab.XtraTabPage();
            this.xtraTabPage26 = new DevExpress.XtraTab.XtraTabPage();
            this.xtraTabPage9 = new DevExpress.XtraTab.XtraTabPage();
            this.xtraTabControl9 = new DevExpress.XtraTab.XtraTabControl();
            this.xtraTabPage28 = new DevExpress.XtraTab.XtraTabPage();
            this.xtraTabPage29 = new DevExpress.XtraTab.XtraTabPage();
            this.xtraTabPage30 = new DevExpress.XtraTab.XtraTabPage();
            this.xtraTabPage27 = new DevExpress.XtraTab.XtraTabPage();
            this.barStaticItem1 = new DevExpress.XtraBars.BarStaticItem();
            this.splitContainerControl1 = new DevExpress.XtraEditors.SplitContainerControl();
            this.ribbonPageGroup17 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
            this.ribbonPageGroup18 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
            ((System.ComponentModel.ISupportInitialize)(this.ribbonControl1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.navBarControl1)).BeginInit();
            this.xtraTabPage1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl3)).BeginInit();
            this.xtraTabControl3.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit();
            this.xtraTabControl1.SuspendLayout();
            this.xtraTabPage2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl4)).BeginInit();
            this.xtraTabControl4.SuspendLayout();
            this.xtraTabPage3.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl5)).BeginInit();
            this.xtraTabControl5.SuspendLayout();
            this.xtraTabPage4.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl2)).BeginInit();
            this.xtraTabControl2.SuspendLayout();
            this.xtraTabPage5.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl7)).BeginInit();
            this.xtraTabControl7.SuspendLayout();
            this.xtraTabPage6.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl6)).BeginInit();
            this.xtraTabControl6.SuspendLayout();
            this.xtraTabPage8.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl8)).BeginInit();
            this.xtraTabControl8.SuspendLayout();
            this.xtraTabPage9.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl9)).BeginInit();
            this.xtraTabControl9.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).BeginInit();
            this.splitContainerControl1.SuspendLayout();
            this.SuspendLayout();
            // 
            // ribbonControl1
            // 
            this.ribbonControl1.ApplicationButtonAnimationLength = 3;
            this.ribbonControl1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
            this.ribbonControl1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
            this.ribbonControl1.ColorScheme = DevExpress.XtraBars.Ribbon.RibbonControlColorScheme.Blue;
            this.ribbonControl1.ExpandCollapseItem.Id = 0;
            this.ribbonControl1.ImeMode = System.Windows.Forms.ImeMode.Alpha;
            this.ribbonControl1.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
            this.ribbonControl1.ExpandCollapseItem,
            this.barButtonItem1,
            this.barButtonItem2,
            this.barButtonItem3,
            this.barButtonItem4,
            this.barButtonItem5,
            this.barButtonItem6,
            this.barButtonItem7,
            this.barButtonItem8,
            this.barButtonItem9,
            this.barButtonItem10,
            this.barButtonItem11,
            this.barButtonItem12,
            this.barButtonItem13,
            this.barButtonItem14,
            this.barButtonItem15,
            this.barButtonItem16,
            this.barButtonItem17,
            this.barButtonItem18,
            this.barButtonItem19,
            this.barButtonItem21,
            this.barButtonItem22,
            this.barButtonItem23,
            this.barButtonItem24,
            this.barButtonItem25,
            this.barButtonItem26,
            this.barButtonItem27,
            this.barButtonItem28,
            this.barButtonItem29,
            this.barButtonItem30,
            this.rbiGallery,
            this.rbGallery,
            this.barStaticItem2,
            this.barButtonItem31});
            this.ribbonControl1.Location = new System.Drawing.Point(0, 0);
            this.ribbonControl1.MaxItemId = 50;
            this.ribbonControl1.Name = "ribbonControl1";
            this.ribbonControl1.PageHeaderItemLinks.Add(this.rbiGallery);
            this.ribbonControl1.PageHeaderItemLinks.Add(this.barStaticItem2);
            this.ribbonControl1.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] {
            this.ribbonPage1,
            this.ribbonPage2,
            this.ribbonPage3,
            this.ribbonPage4,
            this.ribbonPage5,
            this.ribbonPage6,
            this.ribbonPage8,
            this.ribbonPage7,
            this.ribbonPage9});
            this.ribbonControl1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
            this.repositoryItemButtonEdit1});
            this.ribbonControl1.Size = new System.Drawing.Size(1162, 144);
            this.ribbonControl1.StatusBar = this.ribbonStatusBar1;
            this.ribbonControl1.Toolbar.ItemLinks.Add(this.barButtonItem6);
            this.ribbonControl1.ToolbarLocation = DevExpress.XtraBars.Ribbon.RibbonQuickAccessToolbarLocation.Above;
            this.ribbonControl1.Click += new System.EventHandler(this.ribbonControl1_Click);
            // 
            // barButtonItem1
            // 
            this.barButtonItem1.Caption = "Quản lí thông tin điện thoại";
            this.barButtonItem1.Id = 1;
            this.barButtonItem1.Name = "barButtonItem1";
            this.barButtonItem1.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem1_ItemClick);
            // 
            // barButtonItem2
            // 
            this.barButtonItem2.Caption = "Nhập điện thọai";
            this.barButtonItem2.Id = 3;
            this.barButtonItem2.Name = "barButtonItem2";
            this.barButtonItem2.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem2_ItemClick);
            // 
            // barButtonItem3
            // 
            this.barButtonItem3.Caption = "Cập Nhật Thông Tin";
            this.barButtonItem3.Id = 4;
            this.barButtonItem3.Name = "barButtonItem3";
            // 
            // barButtonItem4
            // 
            this.barButtonItem4.Caption = "Xóa Thông Tin ĐT";
            this.barButtonItem4.Id = 5;
            this.barButtonItem4.Name = "barButtonItem4";
            // 
            // barButtonItem5
            // 
            this.barButtonItem5.Caption = "Tìm Kiếm";
            this.barButtonItem5.Id = 6;
            this.barButtonItem5.Name = "barButtonItem5";
            this.barButtonItem5.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem5_ItemClick);
            // 
            // barButtonItem6
            // 
            this.barButtonItem6.Caption = "barButtonItem6";
            this.barButtonItem6.Id = 10;
            this.barButtonItem6.Name = "barButtonItem6";
            this.barButtonItem6.RibbonStyle = ((DevExpress.XtraBars.Ribbon.RibbonItemStyles)(((DevExpress.XtraBars.Ribbon.RibbonItemStyles.Large | DevExpress.XtraBars.Ribbon.RibbonItemStyles.SmallWithText) 
            | DevExpress.XtraBars.Ribbon.RibbonItemStyles.SmallWithoutText)));
            toolTipTitleItem1.Text = "Trang Chủ";
            superToolTip1.Items.Add(toolTipTitleItem1);
            this.barButtonItem6.SuperTip = superToolTip1;
            // 
            // barButtonItem7
            // 
            this.barButtonItem7.Caption = "Quản Lí Phụ Kiện";
            this.barButtonItem7.Id = 14;
            this.barButtonItem7.Name = "barButtonItem7";
            this.barButtonItem7.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem7_ItemClick);
            // 
            // barButtonItem8
            // 
            this.barButtonItem8.Caption = "Nhập Phụ Kiện";
            this.barButtonItem8.Id = 15;
            this.barButtonItem8.Name = "barButtonItem8";
            this.barButtonItem8.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem8_ItemClick);
            // 
            // barButtonItem9
            // 
            this.barButtonItem9.Caption = "Cập Nhật Thông Tin PK";
            this.barButtonItem9.Id = 16;
            this.barButtonItem9.Name = "barButtonItem9";
            // 
            // barButtonItem10
            // 
            this.barButtonItem10.Caption = "Xóa Phụ Kiện";
            this.barButtonItem10.Id = 17;
            this.barButtonItem10.Name = "barButtonItem10";
            // 
            // barButtonItem11
            // 
            this.barButtonItem11.Caption = "Tìm Kiếm Phụ Kiện";
            this.barButtonItem11.Id = 18;
            this.barButtonItem11.Name = "barButtonItem11";
            this.barButtonItem11.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem11_ItemClick);
            // 
            // barButtonItem12
            // 
            this.barButtonItem12.Caption = "Hóa đơn Nhập Hàng";
            this.barButtonItem12.Id = 19;
            this.barButtonItem12.Name = "barButtonItem12";
            this.barButtonItem12.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem12_ItemClick);
            // 
            // barButtonItem13
            // 
            this.barButtonItem13.Caption = "Hóa đơn Bán Hàng";
            this.barButtonItem13.Id = 20;
            this.barButtonItem13.Name = "barButtonItem13";
            this.barButtonItem13.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem13_ItemClick);
            // 
            // barButtonItem14
            // 
            this.barButtonItem14.Caption = "Quản Lý Khách Hàng";
            this.barButtonItem14.Id = 21;
            this.barButtonItem14.Name = "barButtonItem14";
            this.barButtonItem14.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem14_ItemClick);
            // 
            // barButtonItem15
            // 
            this.barButtonItem15.Caption = "Sửa Thông Tin Khách Hàng";
            this.barButtonItem15.Id = 22;
            this.barButtonItem15.Name = "barButtonItem15";
            // 
            // barButtonItem16
            // 
            this.barButtonItem16.Caption = "Xóa Khách Hàng";
            this.barButtonItem16.Id = 23;
            this.barButtonItem16.Name = "barButtonItem16";
            // 
            // barButtonItem17
            // 
            this.barButtonItem17.Caption = "Tìm Kiếm";
            this.barButtonItem17.Id = 24;
            this.barButtonItem17.Name = "barButtonItem17";
            this.barButtonItem17.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem17_ItemClick);
            // 
            // barButtonItem18
            // 
            this.barButtonItem18.Caption = "Thống Kê Doanh Thu";
            this.barButtonItem18.Id = 25;
            this.barButtonItem18.Name = "barButtonItem18";
            this.barButtonItem18.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem18_ItemClick);
            // 
            // barButtonItem19
            // 
            this.barButtonItem19.Caption = "Thống Kê Số Lượng Tồn";
            this.barButtonItem19.Id = 26;
            this.barButtonItem19.Name = "barButtonItem19";
            this.barButtonItem19.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem19_ItemClick);
            // 
            // barButtonItem21
            // 
            this.barButtonItem21.Caption = "Tìm Kiếm Điện Thọai";
            this.barButtonItem21.Id = 28;
            this.barButtonItem21.Name = "barButtonItem21";
            this.barButtonItem21.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem21_ItemClick);
            // 
            // barButtonItem22
            // 
            this.barButtonItem22.Caption = "Tìm Kiem Phụ Kiện";
            this.barButtonItem22.Id = 29;
            this.barButtonItem22.Name = "barButtonItem22";
            this.barButtonItem22.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem22_ItemClick);
            // 
            // barButtonItem23
            // 
            this.barButtonItem23.Caption = "Tìm Kiếm Khách Hàng";
            this.barButtonItem23.Id = 30;
            this.barButtonItem23.Name = "barButtonItem23";
            this.barButtonItem23.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem23_ItemClick);
            // 
            // barButtonItem24
            // 
            this.barButtonItem24.Caption = "Tra Cứu Thông Tin B?o Hành";
            this.barButtonItem24.Id = 32;
            this.barButtonItem24.Name = "barButtonItem24";
            // 
            // barButtonItem25
            // 
            this.barButtonItem25.Caption = "Quản Lí Tài Khoản";
            this.barButtonItem25.Id = 33;
            this.barButtonItem25.Name = "barButtonItem25";
            this.barButtonItem25.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem25_ItemClick);
            // 
            // barButtonItem26
            // 
            this.barButtonItem26.Caption = "Sửa Thông Tin TK";
            this.barButtonItem26.Id = 34;
            this.barButtonItem26.Name = "barButtonItem26";
            // 
            // barButtonItem27
            // 
            this.barButtonItem27.Caption = "Xóa Tài Khoản";
            this.barButtonItem27.Id = 35;
            this.barButtonItem27.Name = "barButtonItem27";
            // 
            // barButtonItem28
            // 
            this.barButtonItem28.Caption = "Hướng Dẫn Sử Dụng";
            this.barButtonItem28.Id = 36;
            this.barButtonItem28.Name = "barButtonItem28";
            // 
            // barButtonItem29
            // 
            this.barButtonItem29.Caption = "Thông Tin Liên Hệ";
            this.barButtonItem29.Id = 37;
            this.barButtonItem29.Name = "barButtonItem29";
            // 
            // barButtonItem30
            // 
            this.barButtonItem30.Caption = "About Program";
            this.barButtonItem30.Id = 38;
            this.barButtonItem30.Name = "barButtonItem30";
            // 
            // rbiGallery
            // 
            this.rbiGallery.Caption = "ribbonGalleryBarItem1";
            this.rbiGallery.Id = 46;
            this.rbiGallery.Name = "rbiGallery";
            // 
            // rbGallery
            // 
            this.rbGallery.Caption = "ribbonGalleryBarItem1";
            // 
            // 
            // 
            this.rbGallery.Gallery.ShowItemText = true;
            this.rbGallery.Id = 47;
            this.rbGallery.Name = "rbGallery";
            // 
            // barStaticItem2
            // 
            this.barStaticItem2.Caption = "barStaticItem2";
            this.barStaticItem2.Id = 48;
            this.barStaticItem2.Name = "barStaticItem2";
            this.barStaticItem2.TextAlignment = System.Drawing.StringAlignment.Near;
            this.barStaticItem2.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barStaticItem2_ItemClick);
            // 
            // barButtonItem31
            // 
            this.barButtonItem31.Caption = "Thay đổi Quy Định";
            this.barButtonItem31.Id = 49;
            this.barButtonItem31.Name = "barButtonItem31";
            this.barButtonItem31.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem31_ItemClick);
            // 
            // ribbonPage1
            // 
            this.ribbonPage1.Appearance.BackColor = System.Drawing.Color.Aqua;
            this.ribbonPage1.Appearance.Options.UseBackColor = true;
            this.ribbonPage1.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] {
            this.ribbonPageGroup1,
            this.ribbonPageGroup2,
            this.ribbonPageGroup5});
            this.ribbonPage1.Name = "ribbonPage1";
            this.ribbonPage1.Text = "Điện Thoại";
            // 
            // ribbonPageGroup1
            // 
            this.ribbonPageGroup1.ItemLinks.Add(this.barButtonItem1);
            this.ribbonPageGroup1.Name = "ribbonPageGroup1";
            this.ribbonPageGroup1.ShowCaptionButton = false;
            // 
            // ribbonPageGroup2
            // 
            this.ribbonPageGroup2.ItemLinks.Add(this.barButtonItem2);
            this.ribbonPageGroup2.Name = "ribbonPageGroup2";
            this.ribbonPageGroup2.ShowCaptionButton = false;
            // 
            // ribbonPageGroup5
            // 
            this.ribbonPageGroup5.ItemLinks.Add(this.barButtonItem5);
            this.ribbonPageGroup5.Name = "ribbonPageGroup5";
            this.ribbonPageGroup5.ShowCaptionButton = false;
            // 
            // ribbonPage2
            // 
            this.ribbonPage2.Appearance.BackColor = System.Drawing.Color.Aqua;
            this.ribbonPage2.Appearance.Options.UseBackColor = true;
            this.ribbonPage2.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] {
            this.ribbonPageGroup6,
            this.ribbonPageGroup7,
            this.ribbonPageGroup10});
            this.ribbonPage2.Name = "ribbonPage2";
            this.ribbonPage2.Text = "Phụ Kiện";
            // 
            // ribbonPageGroup6
            // 
            this.ribbonPageGroup6.ItemLinks.Add(this.barButtonItem7);
            this.ribbonPageGroup6.Name = "ribbonPageGroup6";
            // 
            // ribbonPageGroup7
            // 
            this.ribbonPageGroup7.ItemLinks.Add(this.barButtonItem8);
            this.ribbonPageGroup7.Name = "ribbonPageGroup7";
            // 
            // ribbonPageGroup10
            // 
            this.ribbonPageGroup10.ItemLinks.Add(this.barButtonItem11);
            this.ribbonPageGroup10.Name = "ribbonPageGroup10";
            // 
            // ribbonPage3
            // 
            this.ribbonPage3.Appearance.BackColor = System.Drawing.Color.Aqua;
            this.ribbonPage3.Appearance.Options.UseBackColor = true;
            this.ribbonPage3.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] {
            this.ribbonPageGroup11,
            this.ribbonPageGroup12});
            this.ribbonPage3.Name = "ribbonPage3";
            this.ribbonPage3.Text = "Hóa Đơn";
            // 
            // ribbonPageGroup11
            // 
            this.ribbonPageGroup11.ItemLinks.Add(this.barButtonItem12);
            this.ribbonPageGroup11.Name = "ribbonPageGroup11";
            // 
            // ribbonPageGroup12
            // 
            this.ribbonPageGroup12.ItemLinks.Add(this.barButtonItem13);
            this.ribbonPageGroup12.Name = "ribbonPageGroup12";
            // 
            // ribbonPage4
            // 
            this.ribbonPage4.Appearance.BackColor = System.Drawing.Color.Aqua;
            this.ribbonPage4.Appearance.Options.UseBackColor = true;
            this.ribbonPage4.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] {
            this.ribbonPageGroup13,
            this.ribbonPageGroup14});
            this.ribbonPage4.Name = "ribbonPage4";
            this.ribbonPage4.Text = "Thống Kê";
            // 
            // ribbonPageGroup13
            // 
            this.ribbonPageGroup13.ItemLinks.Add(this.barButtonItem18);
            this.ribbonPageGroup13.Name = "ribbonPageGroup13";
            // 
            // ribbonPageGroup14
            // 
            this.ribbonPageGroup14.ItemLinks.Add(this.barButtonItem19);
            this.ribbonPageGroup14.Name = "ribbonPageGroup14";
            // 
            // ribbonPage5
            // 
            this.ribbonPage5.Appearance.BackColor = System.Drawing.Color.Aqua;
            this.ribbonPage5.Appearance.Options.UseBackColor = true;
            this.ribbonPage5.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] {
            this.ribbonPageGroup19,
            this.ribbonPageGroup22});
            this.ribbonPage5.Name = "ribbonPage5";
            this.ribbonPage5.Text = "Khách Hàng";
            // 
            // ribbonPageGroup19
            // 
            this.ribbonPageGroup19.ItemLinks.Add(this.barButtonItem14);
            this.ribbonPageGroup19.Name = "ribbonPageGroup19";
            // 
            // ribbonPageGroup22
            // 
            this.ribbonPageGroup22.ItemLinks.Add(this.barButtonItem17);
            this.ribbonPageGroup22.Name = "ribbonPageGroup22";
            // 
            // ribbonPage6
            // 
            this.ribbonPage6.Appearance.BackColor = System.Drawing.Color.Aqua;
            this.ribbonPage6.Appearance.Options.UseBackColor = true;
            this.ribbonPage6.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] {
            this.ribbonPageGroup23,
            this.ribbonPageGroup24,
            this.ribbonPageGroup25});
            this.ribbonPage6.Name = "ribbonPage6";
            this.ribbonPage6.Text = "Tìm Kiếm";
            // 
            // ribbonPageGroup23
            // 
            this.ribbonPageGroup23.ItemLinks.Add(this.barButtonItem21);
            this.ribbonPageGroup23.Name = "ribbonPageGroup23";
            // 
            // ribbonPageGroup24
            // 
            this.ribbonPageGroup24.ItemLinks.Add(this.barButtonItem22);
            this.ribbonPageGroup24.Name = "ribbonPageGroup24";
            // 
            // ribbonPageGroup25
            // 
            this.ribbonPageGroup25.ItemLinks.Add(this.barButtonItem23);
            this.ribbonPageGroup25.Name = "ribbonPageGroup25";
            // 
            // ribbonPage8
            // 
            this.ribbonPage8.Appearance.BackColor = System.Drawing.Color.Aqua;
            this.ribbonPage8.Appearance.Options.UseBackColor = true;
            this.ribbonPage8.Name = "ribbonPage8";
            this.ribbonPage8.Text = "Tra Cứu Bảo Hành";
            // 
            // ribbonPage7
            // 
            this.ribbonPage7.Appearance.BackColor = System.Drawing.Color.Aqua;
            this.ribbonPage7.Appearance.Options.UseBackColor = true;
            this.ribbonPage7.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] {
            this.ribbonPageGroup16,
            this.ribbonPageGroup3,
            this.ribbonPageGroup30});
            this.ribbonPage7.Name = "ribbonPage7";
            this.ribbonPage7.Text = "Administrator";
            // 
            // ribbonPageGroup16
            // 
            this.ribbonPageGroup16.ItemLinks.Add(this.barButtonItem25);
            this.ribbonPageGroup16.Name = "ribbonPageGroup16";
            // 
            // ribbonPageGroup3
            // 
            this.ribbonPageGroup3.ItemLinks.Add(this.barButtonItem31);
            this.ribbonPageGroup3.Name = "ribbonPageGroup3";
            // 
            // ribbonPageGroup30
            // 
            this.ribbonPageGroup30.ItemLinks.Add(this.rbGallery);
            this.ribbonPageGroup30.Name = "ribbonPageGroup30";
            this.ribbonPageGroup30.Text = "Thay đổi giao diện";
            // 
            // ribbonPage9
            // 
            this.ribbonPage9.Appearance.BackColor = System.Drawing.Color.Aqua;
            this.ribbonPage9.Appearance.Options.UseBackColor = true;
            this.ribbonPage9.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] {
            this.ribbonPageGroup27,
            this.ribbonPageGroup28,
            this.ribbonPageGroup29});
            this.ribbonPage9.Name = "ribbonPage9";
            this.ribbonPage9.Text = "Giúp đỡ";
            // 
            // ribbonPageGroup27
            // 
            this.ribbonPageGroup27.ItemLinks.Add(this.barButtonItem28);
            this.ribbonPageGroup27.Name = "ribbonPageGroup27";
            // 
            // ribbonPageGroup28
            // 
            this.ribbonPageGroup28.ItemLinks.Add(this.barButtonItem29);
            this.ribbonPageGroup28.Name = "ribbonPageGroup28";
            // 
            // ribbonPageGroup29
            // 
            this.ribbonPageGroup29.ItemLinks.Add(this.barButtonItem30);
            this.ribbonPageGroup29.Name = "ribbonPageGroup29";
            // 
            // repositoryItemButtonEdit1
            // 
            this.repositoryItemButtonEdit1.AutoHeight = false;
            this.repositoryItemButtonEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton()});
            this.repositoryItemButtonEdit1.Name = "repositoryItemButtonEdit1";
            // 
            // ribbonStatusBar1
            // 
            this.ribbonStatusBar1.Location = new System.Drawing.Point(0, 656);
            this.ribbonStatusBar1.Name = "ribbonStatusBar1";
            this.ribbonStatusBar1.Ribbon = this.ribbonControl1;
            this.ribbonStatusBar1.Size = new System.Drawing.Size(1162, 31);
            // 
            // navBarControl1
            // 
            this.navBarControl1.ActiveGroup = this.navBarGroup1;
            this.navBarControl1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.navBarControl1.Groups.AddRange(new DevExpress.XtraNavBar.NavBarGroup[] {
            this.navBarGroup1});
            this.navBarControl1.Items.AddRange(new DevExpress.XtraNavBar.NavBarItem[] {
            this.navBarItem1,
            this.navBarItem2,
            this.navBarItem3,
            this.navBarItem4,
            this.navBarItem5,
            this.navBarItem6,
            this.navBarItem7,
            this.navBarItem8,
            this.navBarItem9,
            this.navBarItem10,
            this.navBarItem11,
            this.navBarItem12,
            this.navBarItem13,
            this.navBarItem14,
            this.navBarItem15,
            this.navBarItem16});
            this.navBarControl1.Location = new System.Drawing.Point(0, 0);
            this.navBarControl1.Name = "navBarControl1";
            this.navBarControl1.OptionsNavPane.ExpandedWidth = 178;
            this.navBarControl1.Size = new System.Drawing.Size(178, 512);
            this.navBarControl1.TabIndex = 1;
            this.navBarControl1.Text = "navBarControl1";
            this.navBarControl1.Click += new System.EventHandler(this.navBarControl1_Click);
            // 
            // navBarGroup1
            // 
            this.navBarGroup1.Caption = "ĐIỆN THOẠI";
            this.navBarGroup1.Expanded = true;
            this.navBarGroup1.ItemLinks.AddRange(new DevExpress.XtraNavBar.NavBarItemLink[] {
            new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem1),
            new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem2),
            new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem3),
            new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem4),
            new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem5),
            new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem6),
            new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem7),
            new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem8),
            new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem9),
            new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem14)});
            this.navBarGroup1.Name = "navBarGroup1";
            // 
            // navBarItem1
            // 
            this.navBarItem1.Caption = "Nokia";
            this.navBarItem1.Name = "navBarItem1";
            this.navBarItem1.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.navBarItem1_LinkClicked);
            // 
            // navBarItem2
            // 
            this.navBarItem2.Caption = "Samsung";
            this.navBarItem2.Name = "navBarItem2";
            this.navBarItem2.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.navBarItem2_LinkClicked);
            // 
            // navBarItem3
            // 
            this.navBarItem3.Caption = "Sony";
            this.navBarItem3.Name = "navBarItem3";
            this.navBarItem3.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.navBarItem3_LinkClicked);
            // 
            // navBarItem4
            // 
            this.navBarItem4.Caption = "ASUS";
            this.navBarItem4.Name = "navBarItem4";
            this.navBarItem4.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.navBarItem4_LinkClicked);
            // 
            // navBarItem5
            // 
            this.navBarItem5.Caption = "HTC";
            this.navBarItem5.Name = "navBarItem5";
            this.navBarItem5.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.navBarItem5_LinkClicked);
            // 
            // navBarItem6
            // 
            this.navBarItem6.Caption = "Pantech SKY";
            this.navBarItem6.Name = "navBarItem6";
            this.navBarItem6.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.navBarItem6_LinkClicked);
            // 
            // navBarItem7
            // 
            this.navBarItem7.Caption = "Apple";
            this.navBarItem7.Name = "navBarItem7";
            this.navBarItem7.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.navBarItem7_LinkClicked);
            // 
            // navBarItem8
            // 
            this.navBarItem8.Caption = "LG";
            this.navBarItem8.Name = "navBarItem8";
            this.navBarItem8.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.navBarItem8_LinkClicked);
            // 
            // navBarItem9
            // 
            this.navBarItem9.Caption = "BlackBerry";
            this.navBarItem9.Name = "navBarItem9";
            this.navBarItem9.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.navBarItem9_LinkClicked);
            // 
            // navBarItem14
            // 
            this.navBarItem14.Caption = "Oppo";
            this.navBarItem14.Name = "navBarItem14";
            this.navBarItem14.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.navBarItem14_LinkClicked);
            // 
            // navBarItem10
            // 
            this.navBarItem10.Caption = "Sạc";
            this.navBarItem10.Name = "navBarItem10";
            // 
            // navBarItem11
            // 
            this.navBarItem11.Caption = "Cáp";
            this.navBarItem11.Name = "navBarItem11";
            // 
            // navBarItem12
            // 
            this.navBarItem12.Caption = "Tai Nghe";
            this.navBarItem12.Name = "navBarItem12";
            // 
            // navBarItem13
            // 
            this.navBarItem13.Caption = "Pin";
            this.navBarItem13.Name = "navBarItem13";
            // 
            // navBarItem15
            // 
            this.navBarItem15.Caption = "Thiết Bị Lưu Trữ";
            this.navBarItem15.Name = "navBarItem15";
            // 
            // navBarItem16
            // 
            this.navBarItem16.Caption = "Ốp Lưng/ Bao Da";
            this.navBarItem16.Name = "navBarItem16";
            // 
            // xtraTabPage1
            // 
            this.xtraTabPage1.Controls.Add(this.xtraTabControl3);
            this.xtraTabPage1.Name = "xtraTabPage1";
            this.xtraTabPage1.Size = new System.Drawing.Size(973, 484);
            this.xtraTabPage1.Text = "Điện Thoại";
            // 
            // xtraTabControl3
            // 
            this.xtraTabControl3.ClosePageButtonShowMode = DevExpress.XtraTab.ClosePageButtonShowMode.InAllTabPageHeaders;
            this.xtraTabControl3.Dock = System.Windows.Forms.DockStyle.Fill;
            this.xtraTabControl3.HeaderLocation = DevExpress.XtraTab.TabHeaderLocation.Left;
            this.xtraTabControl3.Location = new System.Drawing.Point(0, 0);
            this.xtraTabControl3.Name = "xtraTabControl3";
            this.xtraTabControl3.SelectedTabPage = this.xtraTabPage12;
            this.xtraTabControl3.Size = new System.Drawing.Size(973, 484);
            this.xtraTabControl3.TabIndex = 1;
            this.xtraTabControl3.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
            this.xtraTabPage12,
            this.xtraTabPage13,
            this.xtraTabPage14});
            this.xtraTabControl3.Visible = false;
            this.xtraTabControl3.Click += new System.EventHandler(this.xtraTabControl3_Click);
            // 
            // xtraTabPage12
            // 
            this.xtraTabPage12.Name = "xtraTabPage12";
            this.xtraTabPage12.PageVisible = false;
            this.xtraTabPage12.Size = new System.Drawing.Size(945, 478);
            this.xtraTabPage12.Text = "Quản Lí Điện Thoại";
            // 
            // xtraTabPage13
            // 
            this.xtraTabPage13.Name = "xtraTabPage13";
            this.xtraTabPage13.PageVisible = false;
            this.xtraTabPage13.Size = new System.Drawing.Size(945, 478);
            this.xtraTabPage13.Text = "Tìm kiếm";
            // 
            // xtraTabPage14
            // 
            this.xtraTabPage14.Name = "xtraTabPage14";
            this.xtraTabPage14.PageVisible = false;
            this.xtraTabPage14.Size = new System.Drawing.Size(945, 478);
            this.xtraTabPage14.Text = "Nhập Điện Thoại";
            // 
            // xtraTabControl1
            // 
            this.xtraTabControl1.ClosePageButtonShowMode = DevExpress.XtraTab.ClosePageButtonShowMode.InAllTabPageHeaders;
            this.xtraTabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.xtraTabControl1.HeaderLocation = DevExpress.XtraTab.TabHeaderLocation.Bottom;
            this.xtraTabControl1.Location = new System.Drawing.Point(0, 0);
            this.xtraTabControl1.Name = "xtraTabControl1";
            this.xtraTabControl1.SelectedTabPage = this.xtraTabPage1;
            this.xtraTabControl1.Size = new System.Drawing.Size(979, 512);
            this.xtraTabControl1.TabIndex = 3;
            this.xtraTabControl1.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
            this.xtraTabPage1,
            this.xtraTabPage2,
            this.xtraTabPage3,
            this.xtraTabPage4,
            this.xtraTabPage5,
            this.xtraTabPage6,
            this.xtraTabPage7,
            this.xtraTabPage8,
            this.xtraTabPage9,
            this.xtraTabPage27});
            this.xtraTabControl1.Visible = false;
            this.xtraTabControl1.Click += new System.EventHandler(this.xtraTabControl1_Click_1);
            // 
            // xtraTabPage2
            // 
            this.xtraTabPage2.Controls.Add(this.xtraTabControl4);
            this.xtraTabPage2.Name = "xtraTabPage2";
            this.xtraTabPage2.PageVisible = false;
            this.xtraTabPage2.Size = new System.Drawing.Size(973, 484);
            this.xtraTabPage2.Text = "Phụ Kiện";
            // 
            // xtraTabControl4
            // 
            this.xtraTabControl4.ClosePageButtonShowMode = DevExpress.XtraTab.ClosePageButtonShowMode.InAllTabPageHeaders;
            this.xtraTabControl4.Dock = System.Windows.Forms.DockStyle.Fill;
            this.xtraTabControl4.HeaderLocation = DevExpress.XtraTab.TabHeaderLocation.Left;
            this.xtraTabControl4.Location = new System.Drawing.Point(0, 0);
            this.xtraTabControl4.Name = "xtraTabControl4";
            this.xtraTabControl4.SelectedTabPage = this.xtraTabPage15;
            this.xtraTabControl4.Size = new System.Drawing.Size(973, 484);
            this.xtraTabControl4.TabIndex = 2;
            this.xtraTabControl4.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
            this.xtraTabPage15,
            this.xtraTabPage16,
            this.xtraTabPage17});
            this.xtraTabControl4.Visible = false;
            this.xtraTabControl4.Click += new System.EventHandler(this.xtraTabControl4_Click);
            // 
            // xtraTabPage15
            // 
            this.xtraTabPage15.Name = "xtraTabPage15";
            this.xtraTabPage15.PageVisible = false;
            this.xtraTabPage15.Size = new System.Drawing.Size(945, 478);
            this.xtraTabPage15.Text = "Quản Lí Phụ Kiện";
            // 
            // xtraTabPage16
            // 
            this.xtraTabPage16.Name = "xtraTabPage16";
            this.xtraTabPage16.PageVisible = false;
            this.xtraTabPage16.Size = new System.Drawing.Size(945, 478);
            this.xtraTabPage16.Text = "Tìm kiếm";
            // 
            // xtraTabPage17
            // 
            this.xtraTabPage17.Name = "xtraTabPage17";
            this.xtraTabPage17.PageVisible = false;
            this.xtraTabPage17.Size = new System.Drawing.Size(945, 478);
            this.xtraTabPage17.Text = "Nhập Phụ Kiện";
            // 
            // xtraTabPage3
            // 
            this.xtraTabPage3.Controls.Add(this.xtraTabControl5);
            this.xtraTabPage3.Name = "xtraTabPage3";
            this.xtraTabPage3.PageVisible = false;
            this.xtraTabPage3.Size = new System.Drawing.Size(973, 484);
            this.xtraTabPage3.Text = "Hóa Đơn";
            // 
            // xtraTabControl5
            // 
            this.xtraTabControl5.ClosePageButtonShowMode = DevExpress.XtraTab.ClosePageButtonShowMode.InAllTabPageHeaders;
            this.xtraTabControl5.Dock = System.Windows.Forms.DockStyle.Fill;
            this.xtraTabControl5.HeaderLocation = DevExpress.XtraTab.TabHeaderLocation.Left;
            this.xtraTabControl5.Location = new System.Drawing.Point(0, 0);
            this.xtraTabControl5.Name = "xtraTabControl5";
            this.xtraTabControl5.SelectedTabPage = this.xtraTabPage18;
            this.xtraTabControl5.Size = new System.Drawing.Size(973, 484);
            this.xtraTabControl5.TabIndex = 3;
            this.xtraTabControl5.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
            this.xtraTabPage18,
            this.xtraTabPage19});
            this.xtraTabControl5.Visible = false;
            this.xtraTabControl5.Click += new System.EventHandler(this.xtraTabControl5_Click);
            // 
            // xtraTabPage18
            // 
            this.xtraTabPage18.Name = "xtraTabPage18";
            this.xtraTabPage18.PageVisible = false;
            this.xtraTabPage18.Size = new System.Drawing.Size(945, 478);
            this.xtraTabPage18.Text = "Hóa Đơn Nhập Hàng";
            // 
            // xtraTabPage19
            // 
            this.xtraTabPage19.Name = "xtraTabPage19";
            this.xtraTabPage19.PageVisible = false;
            this.xtraTabPage19.Size = new System.Drawing.Size(945, 478);
            this.xtraTabPage19.Text = "Hóa Đơn Bán Hàng";
            // 
            // xtraTabPage4
            // 
            this.xtraTabPage4.Controls.Add(this.xtraTabControl2);
            this.xtraTabPage4.Name = "xtraTabPage4";
            this.xtraTabPage4.PageVisible = false;
            this.xtraTabPage4.Size = new System.Drawing.Size(973, 484);
            this.xtraTabPage4.Text = "Khách Hàng";
            // 
            // xtraTabControl2
            // 
            this.xtraTabControl2.ClosePageButtonShowMode = DevExpress.XtraTab.ClosePageButtonShowMode.InAllTabPageHeaders;
            this.xtraTabControl2.Dock = System.Windows.Forms.DockStyle.Fill;
            this.xtraTabControl2.HeaderLocation = DevExpress.XtraTab.TabHeaderLocation.Left;
            this.xtraTabControl2.Location = new System.Drawing.Point(0, 0);
            this.xtraTabControl2.Name = "xtraTabControl2";
            this.xtraTabControl2.SelectedTabPage = this.xtraTabPage10;
            this.xtraTabControl2.Size = new System.Drawing.Size(973, 484);
            this.xtraTabControl2.TabIndex = 0;
            this.xtraTabControl2.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
            this.xtraTabPage10,
            this.xtraTabPage11});
            this.xtraTabControl2.Visible = false;
            this.xtraTabControl2.Click += new System.EventHandler(this.xtraTabControl2_Click);
            // 
            // xtraTabPage10
            // 
            this.xtraTabPage10.Name = "xtraTabPage10";
            this.xtraTabPage10.PageVisible = false;
            this.xtraTabPage10.Size = new System.Drawing.Size(945, 478);
            this.xtraTabPage10.Text = "Quản Lí Khách Hàng";
            // 
            // xtraTabPage11
            // 
            this.xtraTabPage11.Name = "xtraTabPage11";
            this.xtraTabPage11.PageVisible = false;
            this.xtraTabPage11.Size = new System.Drawing.Size(945, 478);
            this.xtraTabPage11.Text = "Tìm kiếm";
            // 
            // xtraTabPage5
            // 
            this.xtraTabPage5.Controls.Add(this.xtraTabControl7);
            this.xtraTabPage5.Name = "xtraTabPage5";
            this.xtraTabPage5.PageVisible = false;
            this.xtraTabPage5.Size = new System.Drawing.Size(973, 484);
            this.xtraTabPage5.Text = "Thống Kê";
            // 
            // xtraTabControl7
            // 
            this.xtraTabControl7.ClosePageButtonShowMode = DevExpress.XtraTab.ClosePageButtonShowMode.InAllTabPageHeaders;
            this.xtraTabControl7.Dock = System.Windows.Forms.DockStyle.Fill;
            this.xtraTabControl7.HeaderLocation = DevExpress.XtraTab.TabHeaderLocation.Left;
            this.xtraTabControl7.Location = new System.Drawing.Point(0, 0);
            this.xtraTabControl7.Name = "xtraTabControl7";
            this.xtraTabControl7.SelectedTabPage = this.xtraTabPage23;
            this.xtraTabControl7.Size = new System.Drawing.Size(973, 484);
            this.xtraTabControl7.TabIndex = 1;
            this.xtraTabControl7.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
            this.xtraTabPage23,
            this.xtraTabPage24});
            this.xtraTabControl7.Visible = false;
            this.xtraTabControl7.Click += new System.EventHandler(this.xtraTabControl7_Click);
            // 
            // xtraTabPage23
            // 
            this.xtraTabPage23.Name = "xtraTabPage23";
            this.xtraTabPage23.PageVisible = false;
            this.xtraTabPage23.Size = new System.Drawing.Size(945, 478);
            this.xtraTabPage23.Text = "Thống Kê Doanh Thu";
            // 
            // xtraTabPage24
            // 
            this.xtraTabPage24.Name = "xtraTabPage24";
            this.xtraTabPage24.PageVisible = false;
            this.xtraTabPage24.Size = new System.Drawing.Size(945, 478);
            this.xtraTabPage24.Text = "Thống Kê Số Lượng Tồn";
            // 
            // xtraTabPage6
            // 
            this.xtraTabPage6.Controls.Add(this.xtraTabControl6);
            this.xtraTabPage6.Name = "xtraTabPage6";
            this.xtraTabPage6.PageVisible = false;
            this.xtraTabPage6.Size = new System.Drawing.Size(973, 484);
            this.xtraTabPage6.Text = "Tìm Kiếm";
            // 
            // xtraTabControl6
            // 
            this.xtraTabControl6.ClosePageButtonShowMode = DevExpress.XtraTab.ClosePageButtonShowMode.InAllTabPageHeaders;
            this.xtraTabControl6.Dock = System.Windows.Forms.DockStyle.Fill;
            this.xtraTabControl6.HeaderLocation = DevExpress.XtraTab.TabHeaderLocation.Left;
            this.xtraTabControl6.Location = new System.Drawing.Point(0, 0);
            this.xtraTabControl6.Name = "xtraTabControl6";
            this.xtraTabControl6.SelectedTabPage = this.xtraTabPage20;
            this.xtraTabControl6.Size = new System.Drawing.Size(973, 484);
            this.xtraTabControl6.TabIndex = 2;
            this.xtraTabControl6.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
            this.xtraTabPage20,
            this.xtraTabPage21,
            this.xtraTabPage22});
            this.xtraTabControl6.Visible = false;
            this.xtraTabControl6.Click += new System.EventHandler(this.xtraTabControl6_Click);
            // 
            // xtraTabPage20
            // 
            this.xtraTabPage20.Name = "xtraTabPage20";
            this.xtraTabPage20.PageVisible = false;
            this.xtraTabPage20.Size = new System.Drawing.Size(945, 478);
            this.xtraTabPage20.Text = "Tìm Kiếm Điện Thoại";
            // 
            // xtraTabPage21
            // 
            this.xtraTabPage21.Name = "xtraTabPage21";
            this.xtraTabPage21.PageVisible = false;
            this.xtraTabPage21.Size = new System.Drawing.Size(945, 478);
            this.xtraTabPage21.Text = "Tìm kiếm Phụ Kiện";
            // 
            // xtraTabPage22
            // 
            this.xtraTabPage22.Name = "xtraTabPage22";
            this.xtraTabPage22.PageVisible = false;
            this.xtraTabPage22.Size = new System.Drawing.Size(945, 478);
            this.xtraTabPage22.Text = "Tìm Kiếm Khách Hàng";
            // 
            // xtraTabPage7
            // 
            this.xtraTabPage7.Name = "xtraTabPage7";
            this.xtraTabPage7.PageVisible = false;
            this.xtraTabPage7.Size = new System.Drawing.Size(973, 484);
            this.xtraTabPage7.Text = "Tra Cứuu Bảo Hành";
            this.xtraTabPage7.Paint += new System.Windows.Forms.PaintEventHandler(this.xtraTabPage7_Paint);
            // 
            // xtraTabPage8
            // 
            this.xtraTabPage8.Controls.Add(this.xtraTabControl8);
            this.xtraTabPage8.Name = "xtraTabPage8";
            this.xtraTabPage8.PageVisible = false;
            this.xtraTabPage8.Size = new System.Drawing.Size(973, 484);
            this.xtraTabPage8.Text = "Administrator";
            // 
            // xtraTabControl8
            // 
            this.xtraTabControl8.ClosePageButtonShowMode = DevExpress.XtraTab.ClosePageButtonShowMode.InAllTabPageHeaders;
            this.xtraTabControl8.Dock = System.Windows.Forms.DockStyle.Fill;
            this.xtraTabControl8.HeaderLocation = DevExpress.XtraTab.TabHeaderLocation.Left;
            this.xtraTabControl8.Location = new System.Drawing.Point(0, 0);
            this.xtraTabControl8.Name = "xtraTabControl8";
            this.xtraTabControl8.SelectedTabPage = this.xtraTabPage25;
            this.xtraTabControl8.Size = new System.Drawing.Size(973, 484);
            this.xtraTabControl8.TabIndex = 3;
            this.xtraTabControl8.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
            this.xtraTabPage25,
            this.xtraTabPage26});
            this.xtraTabControl8.Visible = false;
            // 
            // xtraTabPage25
            // 
            this.xtraTabPage25.Name = "xtraTabPage25";
            this.xtraTabPage25.PageVisible = false;
            this.xtraTabPage25.Size = new System.Drawing.Size(945, 478);
            this.xtraTabPage25.Text = "Quản Lí Tài Khoản";
            // 
            // xtraTabPage26
            // 
            this.xtraTabPage26.Name = "xtraTabPage26";
            this.xtraTabPage26.PageVisible = false;
            this.xtraTabPage26.Size = new System.Drawing.Size(945, 478);
            this.xtraTabPage26.Text = "Thay Đổi Quy Định";
            // 
            // xtraTabPage9
            // 
            this.xtraTabPage9.Controls.Add(this.xtraTabControl9);
            this.xtraTabPage9.Name = "xtraTabPage9";
            this.xtraTabPage9.PageVisible = false;
            this.xtraTabPage9.Size = new System.Drawing.Size(973, 484);
            this.xtraTabPage9.Text = "Giúp Đỡ";
            // 
            // xtraTabControl9
            // 
            this.xtraTabControl9.ClosePageButtonShowMode = DevExpress.XtraTab.ClosePageButtonShowMode.InAllTabPageHeaders;
            this.xtraTabControl9.Dock = System.Windows.Forms.DockStyle.Fill;
            this.xtraTabControl9.HeaderLocation = DevExpress.XtraTab.TabHeaderLocation.Left;
            this.xtraTabControl9.Location = new System.Drawing.Point(0, 0);
            this.xtraTabControl9.Name = "xtraTabControl9";
            this.xtraTabControl9.SelectedTabPage = this.xtraTabPage28;
            this.xtraTabControl9.Size = new System.Drawing.Size(973, 484);
            this.xtraTabControl9.TabIndex = 3;
            this.xtraTabControl9.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
            this.xtraTabPage28,
            this.xtraTabPage29,
            this.xtraTabPage30});
            this.xtraTabControl9.Visible = false;
            // 
            // xtraTabPage28
            // 
            this.xtraTabPage28.Name = "xtraTabPage28";
            this.xtraTabPage28.PageVisible = false;
            this.xtraTabPage28.Size = new System.Drawing.Size(945, 478);
            this.xtraTabPage28.Text = "HƯớng Dẫn Sử Dụng";
            // 
            // xtraTabPage29
            // 
            this.xtraTabPage29.Name = "xtraTabPage29";
            this.xtraTabPage29.PageVisible = false;
            this.xtraTabPage29.Size = new System.Drawing.Size(945, 478);
            this.xtraTabPage29.Text = "Thông Tin Liên Hệ";
            // 
            // xtraTabPage30
            // 
            this.xtraTabPage30.Name = "xtraTabPage30";
            this.xtraTabPage30.PageVisible = false;
            this.xtraTabPage30.Size = new System.Drawing.Size(945, 478);
            this.xtraTabPage30.Text = "Thông Tin Phần Mềm";
            // 
            // xtraTabPage27
            // 
            this.xtraTabPage27.Name = "xtraTabPage27";
            this.xtraTabPage27.Size = new System.Drawing.Size(973, 484);
            this.xtraTabPage27.Text = "Tìm Kiếm Nâng Cao";
            // 
            // barStaticItem1
            // 
            this.barStaticItem1.Caption = "barStaticItem1";
            this.barStaticItem1.Id = 13;
            this.barStaticItem1.Name = "barStaticItem1";
            this.barStaticItem1.TextAlignment = System.Drawing.StringAlignment.Near;
            // 
            // splitContainerControl1
            // 
            this.splitContainerControl1.Appearance.BackColor = System.Drawing.Color.Gainsboro;
            this.splitContainerControl1.Appearance.Options.UseBackColor = true;
            this.splitContainerControl1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.splitContainerControl1.Location = new System.Drawing.Point(0, 144);
            this.splitContainerControl1.Name = "splitContainerControl1";
            this.splitContainerControl1.Panel1.Controls.Add(this.navBarControl1);
            this.splitContainerControl1.Panel1.Text = "Panel1";
            this.splitContainerControl1.Panel2.Controls.Add(this.xtraTabControl1);
            this.splitContainerControl1.Panel2.Text = "Panel2";
            this.splitContainerControl1.Size = new System.Drawing.Size(1162, 512);
            this.splitContainerControl1.SplitterPosition = 178;
            this.splitContainerControl1.TabIndex = 10;
            this.splitContainerControl1.Text = "splitContainerControl1";
            // 
            // ribbonPageGroup17
            // 
            this.ribbonPageGroup17.ItemLinks.Add(this.barButtonItem26);
            this.ribbonPageGroup17.Name = "ribbonPageGroup17";
            // 
            // ribbonPageGroup18
            // 
            this.ribbonPageGroup18.ItemLinks.Add(this.barButtonItem27);
            this.ribbonPageGroup18.Name = "ribbonPageGroup18";
            // 
            // Main
            // 
            this.Appearance.BackColor = System.Drawing.Color.White;
            this.Appearance.Image = ((System.Drawing.Image)(resources.GetObject("Main.Appearance.Image")));
            this.Appearance.Options.UseBackColor = true;
            this.Appearance.Options.UseImage = true;
            this.ClientSize = new System.Drawing.Size(1162, 687);
            this.Controls.Add(this.splitContainerControl1);
            this.Controls.Add(this.ribbonStatusBar1);
            this.Controls.Add(this.ribbonControl1);
            this.IsMdiContainer = true;
            this.Name = "Main";
            this.Ribbon = this.ribbonControl1;
            this.StatusBar = this.ribbonStatusBar1;
            this.Text = "QUẢN LÍ BÁN ĐIỆN THOẠI VÀ PHỤ KIỆN";
            this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
            this.Load += new System.EventHandler(this.Main_Load);
            ((System.ComponentModel.ISupportInitialize)(this.ribbonControl1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.navBarControl1)).EndInit();
            this.xtraTabPage1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl3)).EndInit();
            this.xtraTabControl3.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).EndInit();
            this.xtraTabControl1.ResumeLayout(false);
            this.xtraTabPage2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl4)).EndInit();
            this.xtraTabControl4.ResumeLayout(false);
            this.xtraTabPage3.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl5)).EndInit();
            this.xtraTabControl5.ResumeLayout(false);
            this.xtraTabPage4.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl2)).EndInit();
            this.xtraTabControl2.ResumeLayout(false);
            this.xtraTabPage5.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl7)).EndInit();
            this.xtraTabControl7.ResumeLayout(false);
            this.xtraTabPage6.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl6)).EndInit();
            this.xtraTabControl6.ResumeLayout(false);
            this.xtraTabPage8.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl8)).EndInit();
            this.xtraTabControl8.ResumeLayout(false);
            this.xtraTabPage9.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl9)).EndInit();
            this.xtraTabControl9.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).EndInit();
            this.splitContainerControl1.ResumeLayout(false);
            this.ResumeLayout(false);

        }

      

        private void barButtonItem1_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            if (xtraTabPage12.PageVisible == true &&
            xtraTabControl3.SelectedTabPage == xtraTabPage12)
            {
                uc_DienThoai QLDT = new uc_DienThoai();
                xtraTabPage12.Controls.Clear();
                xtraTabPage12.Controls.Add(QLDT);
                QLDT.Dock = DockStyle.Fill;
            }
            else if (xtraTabPage12.PageVisible == true &&
              xtraTabControl3.SelectedTabPage != xtraTabPage12)
            {
                uc_DienThoai QLDT = new uc_DienThoai();
                xtraTabPage12.Controls.Clear();
                xtraTabPage12.Controls.Add(QLDT);
                QLDT.Dock = DockStyle.Fill;
                xtraTabControl3.SelectedTabPage = xtraTabPage12;
            }
            else
            {
                xtraTabPage12.PageVisible = true;
                xtraTabControl3.SelectedTabPage = xtraTabPage12;
                xtraTabControl3.Visible = true;
                uc_DienThoai QLDT = new uc_DienThoai();
                xtraTabPage12.Controls.Clear();
                xtraTabPage12.Controls.Add(QLDT);
                QLDT.Dock = DockStyle.Fill;
                QLDT.Show();
            }
        }

        private void barButtonItem14_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            if(xtraTabPage10.PageVisible == true &&
                xtraTabControl2.SelectedTabPage == xtraTabPage10)
            {}
            else if (xtraTabPage10.PageVisible == true &&
              xtraTabControl2.SelectedTabPage != xtraTabPage10)
            {
                xtraTabControl2.SelectedTabPage = xtraTabPage10;
            }
            else
            {
                xtraTabPage10.PageVisible = true;  
                xtraTabControl2.SelectedTabPage = xtraTabPage10;
                xtraTabControl2.Visible = true;                 
                uc_KhachHang KH = new uc_KhachHang();
                xtraTabPage10.Controls.Clear();
                xtraTabPage10.Controls.Add(KH);
                KH.Dock = DockStyle.Fill;
                KH.Show();
            }
            
        }


        private void xtraTabControl1_Click_1(object sender, EventArgs e)
        {
            this.xtraTabControl1.CloseButtonClick += new System.EventHandler(this.xtraTabControl1_CloseButtonClick);
        }

        private void xtraTabControl1_CloseButtonClick(object sender, EventArgs e)
        {// dong tab
            DevExpress.XtraTab.XtraTabControl tabControl = sender as DevExpress.XtraTab.XtraTabControl;
            DevExpress.XtraTab.ViewInfo.ClosePageButtonEventArgs arg = e as DevExpress.XtraTab.ViewInfo.ClosePageButtonEventArgs;
            (arg.Page as DevExpress.XtraTab.XtraTabPage).PageVisible = false;
        }

        private void xtraTabControl1_ControlAdded(object sender, ControlEventArgs e)
        {// Khi add vào thì Focus t?i ngay Tab v?a Add
            xtraTabControl1.SelectedTabPageIndex = xtraTabControl1.TabPages.Count - 1;
        }

        private void ribbonControl1_Click(object sender, EventArgs e)
        {
            if (xtraTabControl1.Visible == false)
                xtraTabControl1.Visible = true;
            string ribPage = ribbonControl1.SelectedPage.Name;
            switch(ribPage)
            {
                case "ribbonPage1":
                    xtraTabPage1.PageVisible = true;
                    xtraTabControl1.SelectedTabPage = xtraTabPage1;
                    break;
                case "ribbonPage2":
                    xtraTabPage2.PageVisible = true;
                    xtraTabControl1.SelectedTabPage = xtraTabPage2;
                    break;
                case "ribbonPage3":
                    xtraTabPage3.PageVisible = true;
                    xtraTabControl1.SelectedTabPage = xtraTabPage3;
                    break;
                case "ribbonPage4":
                    xtraTabPage5.PageVisible = true;
                    xtraTabControl1.SelectedTabPage = xtraTabPage5;
                    break;
                case "ribbonPage5":
                    xtraTabPage4.PageVisible = true;
                    xtraTabControl1.SelectedTabPage = xtraTabPage4;
                    break;
                case "ribbonPage6":
                    xtraTabPage6.PageVisible = true;
                    xtraTabControl1.SelectedTabPage = xtraTabPage6;
                    break;
                case "ribbonPage7":
                    xtraTabPage8.PageVisible = true;
                    xtraTabControl1.SelectedTabPage = xtraTabPage8;                   
                    break;
                case "ribbonPage8":
                    xtraTabPage7.PageVisible = true;
                    xtraTabControl1.SelectedTabPage = xtraTabPage7;
                    break;
                case "ribbonPage9":
                    xtraTabPage9.PageVisible = true;
                    xtraTabControl1.SelectedTabPage = xtraTabPage9;
                    break;



            }
            
        }

        private void xtraTabControl2_Click(object sender, EventArgs e)
        {
            this.xtraTabControl2.CloseButtonClick += new System.EventHandler(this.xtraTabControl1_CloseButtonClick);
        }

        private void barButtonItem17_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            if( xtraTabPage11.PageVisible == true &&
                xtraTabControl2.SelectedTabPage == xtraTabPage11)
            {}
            else if (xtraTabPage11.PageVisible == true &&
              xtraTabControl2.SelectedTabPage != xtraTabPage13)
            {
                xtraTabControl2.SelectedTabPage = xtraTabPage11;
            }
            else
            {

                xtraTabPage11.PageVisible = true;
                xtraTabControl2.SelectedTabPage = xtraTabPage11;
                xtraTabControl2.Visible = true;          
                uc_TimKiemKH TKKH = new uc_TimKiemKH();
                xtraTabPage11.Controls.Clear();
                xtraTabPage11.Controls.Add(TKKH);
                TKKH.Dock = DockStyle.Fill;
                TKKH.Show();
            }
        }

        private void barButtonItem5_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            if (xtraTabPage13.PageVisible == true &&
               xtraTabControl3.SelectedTabPage == xtraTabPage13)
            { }
            else if (xtraTabPage13.PageVisible == true &&
               xtraTabControl3.SelectedTabPage != xtraTabPage13)
            {
                xtraTabControl3.SelectedTabPage = xtraTabPage13;
            }
            else
            {

                xtraTabPage13.PageVisible = true;
                xtraTabControl3.SelectedTabPage = xtraTabPage13;
                xtraTabControl3.Visible = true;
                uc_TimKiemDT TKDT = new uc_TimKiemDT();
                xtraTabPage13.Controls.Clear();
                xtraTabPage13.Controls.Add(TKDT);
                TKDT.Dock = DockStyle.Fill;
                TKDT.Show();
            }
        }

        private void xtraTabControl3_Click(object sender, EventArgs e)
        {
            this.xtraTabControl3.CloseButtonClick += new System.EventHandler(this.xtraTabControl1_CloseButtonClick);
        }

        private void barButtonItem2_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            if (xtraTabPage14.PageVisible == true &&
               xtraTabControl3.SelectedTabPage == xtraTabPage14)
            { }
            else if (xtraTabPage14.PageVisible == true &&
               xtraTabControl3.SelectedTabPage != xtraTabPage14)
            {
                xtraTabControl3.SelectedTabPage = xtraTabPage14;
            }
            else
            {

                xtraTabPage14.PageVisible = true;
                xtraTabControl3.SelectedTabPage = xtraTabPage14;
                xtraTabControl3.Visible = true;
                uc_NhapHang PN = new uc_NhapHang();
                xtraTabPage14.Controls.Clear();
                xtraTabPage14.Controls.Add(PN);
                PN.Dock = DockStyle.Fill;
                PN.Show();
            }
        }

        private void xtraTabControl4_Click(object sender, EventArgs e)
        {
            this.xtraTabControl4.CloseButtonClick += new System.EventHandler(this.xtraTabControl1_CloseButtonClick);
        }

        private void barButtonItem7_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            if (xtraTabPage15.PageVisible == true &&
              xtraTabControl4.SelectedTabPage == xtraTabPage15)
            {
                uc_PhuKien PK = new uc_PhuKien();
                xtraTabPage15.Controls.Clear();
                xtraTabPage15.Controls.Add(PK);
                PK.Dock = DockStyle.Fill;
                PK.Show();
            }
            else if (xtraTabPage15.PageVisible == true &&
               xtraTabControl4.SelectedTabPage != xtraTabPage15)
            {
                uc_PhuKien PK = new uc_PhuKien();
                xtraTabPage15.Controls.Clear();
                xtraTabPage15.Controls.Add(PK);
                PK.Dock = DockStyle.Fill;
                PK.Show();
                xtraTabControl4.SelectedTabPage = xtraTabPage15;
            }
            else
            {

                xtraTabPage15.PageVisible = true;
                xtraTabControl4.SelectedTabPage = xtraTabPage15;
                xtraTabControl4.Visible = true;
                uc_PhuKien PK = new uc_PhuKien();
                xtraTabPage15.Controls.Clear();
                xtraTabPage15.Controls.Add(PK);
                PK.Dock = DockStyle.Fill;
                PK.Show();
            }
        }

        private void barButtonItem11_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            if (xtraTabPage16.PageVisible == true &&
             xtraTabControl4.SelectedTabPage == xtraTabPage16)
            { }
            else if (xtraTabPage16.PageVisible == true &&
               xtraTabControl4.SelectedTabPage != xtraTabPage16)
            {
                xtraTabControl4.SelectedTabPage = xtraTabPage16;
            }
            else
            {

                xtraTabPage16.PageVisible = true;
                xtraTabControl4.SelectedTabPage = xtraTabPage16;
                xtraTabControl4.Visible = true;
                uc_TimKiemPK TKPK = new uc_TimKiemPK();
                xtraTabPage16.Controls.Clear();
                xtraTabPage16.Controls.Add(TKPK);
                TKPK.Dock = DockStyle.Fill;
                TKPK.Show();
            }
        }

        private void barButtonItem8_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            if (xtraTabPage17.PageVisible == true &&
            xtraTabControl4.SelectedTabPage == xtraTabPage17)
            { }
            else if (xtraTabPage17.PageVisible == true &&
               xtraTabControl4.SelectedTabPage != xtraTabPage17)
            {
                xtraTabControl4.SelectedTabPage = xtraTabPage17;
            }
            else
            {

                xtraTabPage17.PageVisible = true;
                xtraTabControl4.SelectedTabPage = xtraTabPage17;
                xtraTabControl4.Visible = true;
                uc_NhapHang NhapPK = new uc_NhapHang();
                xtraTabPage17.Controls.Clear();
                xtraTabPage17.Controls.Add(NhapPK);
                NhapPK.Dock = DockStyle.Fill;
                NhapPK.Show();
            }
        }

        private void xtraTabControl5_Click(object sender, EventArgs e)
        {
            this.xtraTabControl5.CloseButtonClick += new System.EventHandler(this.xtraTabControl1_CloseButtonClick);
        }

        private void barButtonItem12_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            if (xtraTabPage18.PageVisible == true &&
            xtraTabControl5.SelectedTabPage == xtraTabPage18)
            { }
            else if (xtraTabPage18.PageVisible == true &&
               xtraTabControl5.SelectedTabPage != xtraTabPage18)
            {
                xtraTabControl5.SelectedTabPage = xtraTabPage18;
            }
            else
            {

                xtraTabPage18.PageVisible = true;
                xtraTabControl5.SelectedTabPage = xtraTabPage18;
                xtraTabControl5.Visible = true;
                uc_NhapHang Nhap = new uc_NhapHang();
                xtraTabPage18.Controls.Clear();
                xtraTabPage18.Controls.Add(Nhap);
                Nhap.Dock = DockStyle.Fill;
                Nhap.Show();
            }
        }

        private void barButtonItem21_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            if (xtraTabPage20.PageVisible == true &&
            xtraTabControl6.SelectedTabPage == xtraTabPage20)
            { }
            else if (xtraTabPage20.PageVisible == true &&
               xtraTabControl6.SelectedTabPage != xtraTabPage20)
            {
                xtraTabControl6.SelectedTabPage = xtraTabPage20;
            }
            else
            {

                xtraTabPage20.PageVisible = true;
                xtraTabControl6.SelectedTabPage = xtraTabPage20;
                xtraTabControl6.Visible = true;
                uc_TimKiemDT TKDT = new uc_TimKiemDT();
                xtraTabPage20.Controls.Clear();
                xtraTabPage20.Controls.Add(TKDT);
                TKDT.Dock = DockStyle.Fill;
                TKDT.Show();
            }
        }

        private void xtraTabControl6_Click(object sender, EventArgs e)
        {
            this.xtraTabControl6.CloseButtonClick += new System.EventHandler(this.xtraTabControl1_CloseButtonClick);
        }

        private void barButtonItem22_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            if (xtraTabPage21.PageVisible == true &&
          xtraTabControl6.SelectedTabPage == xtraTabPage21)
            { }
            else if (xtraTabPage21.PageVisible == true &&
               xtraTabControl6.SelectedTabPage != xtraTabPage21)
            {
                xtraTabControl6.SelectedTabPage = xtraTabPage21;
            }
            else
            {

                xtraTabPage21.PageVisible = true;
                xtraTabControl6.SelectedTabPage = xtraTabPage21;
                xtraTabControl6.Visible = true;
                uc_TimKiemPK TKPK = new uc_TimKiemPK();
                xtraTabPage21.Controls.Clear();
                xtraTabPage21.Controls.Add(TKPK);
                TKPK.Dock = DockStyle.Fill;
                TKPK.Show();
            }
        }

        private void barButtonItem23_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            if (xtraTabPage22.PageVisible == true &&
          xtraTabControl6.SelectedTabPage == xtraTabPage20)
            { }
            else if (xtraTabPage22.PageVisible == true &&
               xtraTabControl6.SelectedTabPage != xtraTabPage22)
            {
                xtraTabControl6.SelectedTabPage = xtraTabPage22;
            }
            else
            {

                xtraTabPage22.PageVisible = true;
                xtraTabControl6.SelectedTabPage = xtraTabPage22;
                xtraTabControl6.Visible = true;
                uc_TimKiemKH TKKH = new uc_TimKiemKH();
                xtraTabPage22.Controls.Clear();
                xtraTabPage22.Controls.Add(TKKH);
                TKKH.Dock = DockStyle.Fill;
                TKKH.Show();
            }
        }

        private void barButtonItem13_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            if (xtraTabPage19.PageVisible == true &&
         xtraTabControl5.SelectedTabPage == xtraTabPage19)
            { }
            else if (xtraTabPage19.PageVisible == true &&
               xtraTabControl5.SelectedTabPage != xtraTabPage19)
            {
                xtraTabControl5.SelectedTabPage = xtraTabPage19;
            }
            else
            {

                xtraTabPage19.PageVisible = true;
                xtraTabControl5.SelectedTabPage = xtraTabPage19;
                xtraTabControl5.Visible = true;
                uc_HoaDonBanHang Ban = new uc_HoaDonBanHang();
                xtraTabPage19.Controls.Clear();
                xtraTabPage19.Controls.Add(Ban);
                Ban.Dock = DockStyle.Fill;
                Ban.Show();
            }
        }

        private void barButtonItem18_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {

            if (xtraTabPage23.PageVisible == true &&
          xtraTabControl7.SelectedTabPage == xtraTabPage23)
            { }
            else if (xtraTabPage23.PageVisible == true &&
               xtraTabControl7.SelectedTabPage != xtraTabPage23)
            {
                xtraTabControl7.SelectedTabPage = xtraTabPage23;
            }
            else
            {

                xtraTabPage23.PageVisible = true;
                xtraTabControl7.SelectedTabPage = xtraTabPage23;
                xtraTabControl7.Visible = true;
                uc_ThongKeDT TKDT = new uc_ThongKeDT();
                xtraTabPage23.Controls.Clear();
                xtraTabPage23.Controls.Add(TKDT);
                TKDT.Dock = DockStyle.Fill;
                TKDT.Show();
            }
          
        }

        private void barButtonItem19_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {

            if (xtraTabPage24.PageVisible == true &&
          xtraTabControl7.SelectedTabPage == xtraTabPage24)
            { }
            else if (xtraTabPage24.PageVisible == true &&
               xtraTabControl7.SelectedTabPage != xtraTabPage24)
            {
                xtraTabControl7.SelectedTabPage = xtraTabPage24;
            }
            else
            {

                xtraTabPage24.PageVisible = true;
                xtraTabControl7.SelectedTabPage = xtraTabPage24;
                xtraTabControl7.Visible = true;
                uc_ThongKeTon TKT = new uc_ThongKeTon();
                xtraTabPage24.Controls.Clear();
                xtraTabPage24.Controls.Add(TKT);
                TKT.Dock = DockStyle.Fill;
                TKT.Show();
            }
        }
        private void xtraTabControl7_Click(object sender, EventArgs e)
        {
            this.xtraTabControl7.CloseButtonClick += new System.EventHandler(this.xtraTabControl1_CloseButtonClick);
        }

        private void xtraTabPage7_Paint(object sender, PaintEventArgs e)
        {
            if (xtraTabPage7.Controls.Count == 0)
            {
                uc_TraCuuBaoHanh BH = new uc_TraCuuBaoHanh();
                xtraTabPage7.Controls.Clear();
                xtraTabPage7.Controls.Add(BH);
                BH.Dock = DockStyle.Fill;
                BH.Show();
            }
            
        }

        private void barButtonItem25_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            if (typeuser == 1)
            {
                if (xtraTabPage25.PageVisible == true &&
              xtraTabControl8.SelectedTabPage == xtraTabPage25)
                { }
                else if (xtraTabPage25.PageVisible == true &&
                   xtraTabControl8.SelectedTabPage != xtraTabPage25)
                {
                    xtraTabControl8.SelectedTabPage = xtraTabPage25;
                }
                else
                {

                    xtraTabPage25.PageVisible = true;
                    xtraTabControl8.SelectedTabPage = xtraTabPage25;
                    xtraTabControl8.Visible = true;
                    uc_TaiKhoan TK = new uc_TaiKhoan();
                    xtraTabPage25.Controls.Clear();
                    xtraTabPage25.Controls.Add(TK);
                    TK.Dock = DockStyle.Fill;
                    TK.Show();
                }
            }
            else
                MessageBox.Show("Vui lòng đăng nhập với quyền Admin", "Thông báo", MessageBoxButtons.OK, MessageBoxIcon.Information);

        }


        private void navBarControl1_Click(object sender, EventArgs e)
        {                    
        }
            

        private void Main_Load(object sender, EventArgs e)
        {
		}	
        private void barButtonItem31_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            if (typeuser == 1)
            {
                if (xtraTabPage26.PageVisible == true &&
                xtraTabControl8.SelectedTabPage == xtraTabPage26)
                { }
                else if (xtraTabPage26.PageVisible == true &&
                   xtraTabControl8.SelectedTabPage != xtraTabPage26)
                {
                    xtraTabControl8.SelectedTabPage = xtraTabPage26;
                }
                else
                {

                }
                xtraTabPage26.PageVisible = true;
                xtraTabControl8.SelectedTabPage = xtraTabPage26;
                xtraTabControl8.Visible = true;
                uc_QuyDinh QD = new uc_QuyDinh();
                xtraTabPage26.Controls.Clear();
                xtraTabPage26.Controls.Add(QD);
                QD.Dock = DockStyle.Fill;
                QD.Show();
            }
            else
                MessageBox.Show("Vui lòng đăng nhập với quyền Admin", "Thông báo", MessageBoxButtons.OK, MessageBoxIcon.Information);
        }

        private void barStaticItem2_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            this.Dispose();
            (new FrmLogin()).ShowDialog();
           
        }

        private void navBarItem1_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
        {
            if (xtraTabControl1.Visible == false)
                xtraTabControl1.Visible = true;
            xtraTabControl1.SelectedTabPage = xtraTabPage27;
            xtraTabPage27.PageVisible = true;
            uc_TimKiemDTNangCao KH = new uc_TimKiemDTNangCao("Nokia");
            xtraTabPage27.Controls.Clear();
            xtraTabPage27.Controls.Add(KH);
            KH.Dock = DockStyle.Fill;
            KH.Show();                
        }

        private void navBarItem2_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
        {
            if (xtraTabControl1.Visible == false)
                xtraTabControl1.Visible = true;
            xtraTabControl1.SelectedTabPage = xtraTabPage27;
            xtraTabPage27.PageVisible = true;
            uc_TimKiemDTNangCao KH = new uc_TimKiemDTNangCao("SamSung");
            xtraTabPage27.Controls.Clear();
            xtraTabPage27.Controls.Add(KH);
            KH.Dock = DockStyle.Fill;
            KH.Show();
        }

        private void navBarItem3_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
        {
            if (xtraTabControl1.Visible == false)
                xtraTabControl1.Visible = true;
            xtraTabControl1.SelectedTabPage = xtraTabPage27;
            xtraTabPage27.PageVisible = true;
            uc_TimKiemDTNangCao KH = new uc_TimKiemDTNangCao("Sony");
            xtraTabPage27.Controls.Clear();
            xtraTabPage27.Controls.Add(KH);
            KH.Dock = DockStyle.Fill;
            KH.Show();
        }

        private void navBarItem4_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
        {
            if (xtraTabControl1.Visible == false)
                xtraTabControl1.Visible = true;
            xtraTabControl1.SelectedTabPage = xtraTabPage27;
            xtraTabPage27.PageVisible = true;
            uc_TimKiemDTNangCao KH = new uc_TimKiemDTNangCao("ASUS");
            xtraTabPage27.Controls.Clear();
            xtraTabPage27.Controls.Add(KH);
            KH.Dock = DockStyle.Fill;
            KH.Show();
        }

        private void navBarItem5_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
        {
            if (xtraTabControl1.Visible == false)
                xtraTabControl1.Visible = true;
            xtraTabControl1.SelectedTabPage = xtraTabPage27;
            xtraTabPage27.PageVisible = true;
            uc_TimKiemDTNangCao KH = new uc_TimKiemDTNangCao("HTC");
            xtraTabPage27.Controls.Clear();
            xtraTabPage27.Controls.Add(KH);
            KH.Dock = DockStyle.Fill;
            KH.Show();
        }

        private void navBarItem6_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
        {
            if (xtraTabControl1.Visible == false)
                xtraTabControl1.Visible = true;
            xtraTabControl1.SelectedTabPage = xtraTabPage27;
            xtraTabPage27.PageVisible = true;
            uc_TimKiemDTNangCao KH = new uc_TimKiemDTNangCao("Sky");
            xtraTabPage27.Controls.Clear();
            xtraTabPage27.Controls.Add(KH);
            KH.Dock = DockStyle.Fill;
            KH.Show();
        }

        private void navBarItem7_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
        {
            if (xtraTabControl1.Visible == false)
                xtraTabControl1.Visible = true;
            xtraTabControl1.SelectedTabPage = xtraTabPage27;
            xtraTabPage27.PageVisible = true;
            uc_TimKiemDTNangCao KH = new uc_TimKiemDTNangCao("Apple");
            xtraTabPage27.Controls.Clear();
            xtraTabPage27.Controls.Add(KH);
            KH.Dock = DockStyle.Fill;
            KH.Show();
        }

        private void navBarItem8_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
        {
            if (xtraTabControl1.Visible == false)
                xtraTabControl1.Visible = true;
            xtraTabControl1.SelectedTabPage = xtraTabPage27;
            xtraTabPage27.PageVisible = true;
            uc_TimKiemDTNangCao KH = new uc_TimKiemDTNangCao("LG");
            xtraTabPage27.Controls.Clear();
            xtraTabPage27.Controls.Add(KH);
            KH.Dock = DockStyle.Fill;
            KH.Show();
        }

        private void navBarItem9_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
        {
            if (xtraTabControl1.Visible == false)
                xtraTabControl1.Visible = true;
            xtraTabControl1.SelectedTabPage = xtraTabPage27;
            xtraTabPage27.PageVisible = true;
            uc_TimKiemDTNangCao KH = new uc_TimKiemDTNangCao("BlackBerry");
            xtraTabPage27.Controls.Clear();
            xtraTabPage27.Controls.Add(KH);
            KH.Dock = DockStyle.Fill;
            KH.Show();
        }

        private void navBarItem14_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
        {
            if (xtraTabControl1.Visible == false)
                xtraTabControl1.Visible = true;
            xtraTabControl1.SelectedTabPage = xtraTabPage27;
            xtraTabPage27.PageVisible = true;
            uc_TimKiemDTNangCao KH = new uc_TimKiemDTNangCao("Oppo");
            xtraTabPage27.Controls.Clear();
            xtraTabPage27.Controls.Add(KH);
            KH.Dock = DockStyle.Fill;
            KH.Show();
        }
}



    

       
}